from selenium import webdriver;
import time;

# 创建浏览器
bro = webdriver.Chrome(executable_path="./chromedriver.exe");
# 发请求
bro.get("https://qzone.qq.com/");

# 标签操作
a = bro.find_element_by_id("web_qr_login");

# iframe
# 切换作用域到 iframe
bro.switch_to.frame("g_iframe");

